package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.PmsPicture;
import cn.tedu.csmall.product.pojo.vo.PictureStandardVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PictureMapper {
    int insert(PmsPicture pmsAttribute);

    int insertBatch(List<PmsPicture> pmsAttributes);

    int deleteById(long l);

    int deleteByIds(Long[] l);

    int update(PmsPicture pmsAttribute);

    int count();

    PictureStandardVo selectById(Long id);

    List<PictureStandardVo> list();

    int countByAlbum(Long album_id);
}
